-
Notifications
You must be signed in to change notification settings - Fork 133
8353175: Eliminate double iteration of stream in FieldDescriptor reinitialization #2010
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back rvansa! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
@rvansa Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
/approval request Fixes performance regression introduced in 21 |
Hi @rvansa , please first get a review before labeling fix-request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change looks fine. But you need to name the PR Backport f169fc5a99ee2b485e156c043134ab76b7e5ebd9
, not just the changeset, to get it properly hooked up.
This backport pull request has now been updated with issue from the original commit. |
|
/approval request Partially fixes performance regression introduced in 21 |
https://bugs.openjdk.org/browse/JDK-8352075 is a fairly recent change (June 2025) in JDK 25 and touches core parts of the VM. We should stage this backport. Deferring to January as we'd have at least some real-world usage in JDK 25 at this point. |
This backport is a partial fix for a performance regression and prerequisite for backport of openjdk/jdk#24847 (will be done through https://github.com/rvansa/jdk21u-dev/tree/refs/heads/rvansa/backport-8352075)
The backport was not clean; a notable new change is in
reflectionUtils.hpp
(later JDK versions remove the affected class) - I am addingfriend class FieldStream
toInstanceKlass
to accomodate for this.Backport-of: f169fc5a99ee2b485e156c043134ab76b7e5ebd9
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/2010/head:pull/2010
$ git checkout pull/2010
Update a local copy of the PR:
$ git checkout pull/2010
$ git pull https://git.openjdk.org/jdk21u-dev.git pull/2010/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2010
View PR using the GUI difftool:
$ git pr show -t 2010
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/2010.diff
Using Webrev
Link to Webrev Comment